import instence from "@/utils/axios";

export const getUserInfo = () => {
  return instence.get<IUser>("user");
};

export const getUserPostApi = () => {
  return instence.get<IPost[]>("user/post");
};
